import type {FroUser} from "@/api/front/user/type";

export interface SocEvents {
    eventId?: number;
    organizerId?: number;
    title?: string;
    cover?: string;
    requiresApproval?: number;
    content?: string;
    description?: string;
    location?: string;
    status?: number;
    startTime?: Date;
    endTime?: Date;
    createTime?: Date;
    updateTime?: Date;
}
export interface SocEventMien{
    mienId?:number,
    eventId?:number,
    url:string,
    description:string,
}

export interface EventDetailVO extends SocEvents{
    organizerName:string,
    organizerAvatar:string,
    joiners:FroUser[],
    joinersCount:number,
    mienList:SocEventMien[]
    isJoined:boolean,
}
export interface SocEventRemark{
    remarkId?:number,
    eventId?:number,
    userId?:number,
    parentId?:number,
    content:string,
    status?:number,
}
export interface SocEventParticipants {
    participantId?: number | string;
    eventId: number | string;
    userId?: number | string;
    status?: number;
    appliedTime?: Date | null;
    reviewedTime?: Date | null;
}
export interface SocEventCreateDTO extends SocEvents{
    miens:SocEventMien[]
}
